
<div class="row" style="padding-top: 15px;">
    <div class="col-md-12">
        <!--id="container"-->
        <div class="bgc-w box">
            <form action="deptedit" method="post" onsubmit="return check();">
                <!--盒子头-->
                <div class="box-header">
                    <h3 class="box-title" style="font-size: 12px;">
                        部门详细信息
                    </h3>
                </div>
                <!--盒子身体-->
                <div class="box-body no-padding">
                    <div class="box-body">
                        <div class="row">
                            <div class="col-md-12 form-group">
                                ${dept.deptName}
                                <#if (deptuser?? & deptuser?size gt 0) || deptmanage??>
                                    <a class="label sheding" href="javascript:void(0);">删除</a>
                                <#else>
                                    <a class="label shanchu" href="deletdept?deletedeptid=${dept.deptId}">删除</a>
                                </#if>
                            </div>
                            <div class="col-md-12 form-group">
                                部门经理：${(deptmanage.realName)!'暂无'}

                                <#if (deptuser?? & deptuser?size gt 0) || deptmanage??>
                                    <a class="changemanage label xiugai">更换</a>
<#--										<input type="text" value="1221212121212">-->
                                <#else>
                                    <a class="label sheding" href="javascript:void(0);">更换</a>
                                </#if>
                            </div>
                            <input type="hidden" name="deptid" value="${(dept.deptId)!''}">
                        </div>
                        <#if isread??>
                            <table class="table table-hover table-striped">
                                <tr>

                                    <th scope="col">&nbsp;</th>
                                    <th scope="col">真实姓名</th>
                                    <th scope="col">用户名</th>
                                    <th scope="col">职位</th>
                                    <th scope="col">操作</th>
                                </tr>
                                <#list deptuser as user>
                                    <tr>
                                        <td><img src="images/handsome.jpg" class="img-circle"
                                                 style="width: 25px; height: 25px;" /></td>
                                        <td><span>${user.realName}</span></td>
                                        <td><span>${user.userName}</span></td>
                                        <td><span>${user.aoaPosition.name}</span></td>
                                        <td>
                                            <a class="usermanagechange label xiugai">
                                                <span class="glyphicon glyphicon-edit"></span> 人事调动
                                            </a>
                                            <input class="deptuserid" type="hidden" value="${user.userId}"/>
                                            <input class="realname" type="hidden" value="${user.realName}"/>
                                        </td>
                                    </tr>
                                </#list>
                            </table>
                        </#if>
                    </div>

                </div>
                <#include "/common/paging.ftl"/>
                <!--盒子尾-->
                <div class="box-footer">
                    <#if isread??>
                        <input class="btn btn-default" id="cancel" type="button" value="返回"
                               onclick="window.history.back();" />
                    <#else>
                        <input class="btn btn-primary" id="save" type="submit" value="保存" />
                        <input class="btn btn-default" id="cancel" type="button" value="取消"
                               onclick="window.history.back();" />
                    </#if>
                </div>
            </form>
        </div>
    </div>
</div>
